import 'package:flutterproject/generated/json/base/json_convert_content.dart';
import 'package:flutterproject/page/product_detail/data/order_success_bean.dart';

OrderSuccessBean $OrderSuccessBeanFromJson(Map<String, dynamic> json) {
	final OrderSuccessBean orderSuccessBean = OrderSuccessBean();
	final int? orderId = jsonConvert.convert<int>(json['orderId']);
	if (orderId != null) {
		orderSuccessBean.orderId = orderId;
	}
	final String? orderNo = jsonConvert.convert<String>(json['orderNo']);
	if (orderNo != null) {
		orderSuccessBean.orderNo = orderNo;
	}
	return orderSuccessBean;
}

Map<String, dynamic> $OrderSuccessBeanToJson(OrderSuccessBean entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['orderId'] = entity.orderId;
	data['orderNo'] = entity.orderNo;
	return data;
}